package com.abner.design.patterns.builder.improve;

/**
 * 普通房子建造者(具体建造者)
 * @Author: abner
 * @Date: 2022-05-03-14:15
 **/
public class CommonHouseBuilder extends HouseBuilder{

    @Override
    public void buildBasic() {
        house.setBasic("5");
        System.out.println(" 普通房子打地基 5 米 ");
    }

    @Override
    public void buildWalls() {
        house.setWall("10");
        System.out.println(" 普通房子砌墙 10cm ");
    }

    @Override
    public void roofed() {
        house.setRoofed("普通房子");
        System.out.println(" 普通房子屋顶 ");
    }
}
